/**
  @authoer: lss
  @date: 2021/3/5
  @note:
**/
package main

import (
	"github.com/astaxie/beego/logs"
	expiremap "github.com/nursik/go-expire-map"
	_ "gorm.io/driver/mysql"
	"wonlicsys/database"
	"wonlicsys/pkg"
)

func main() {
	//初始化数据库连接池
	database.LicSysDbMap = expiremap.New() //apom连接池
	//启动项目
	if err := pkg.Start(); err != nil {
		logs.Error(err, "系统错误")
	}

}
